package com.toplabs.unashu.mapper;

import com.toplabs.unashu.dto.SearchLog;
import com.toplabs.unashu.entity.LoginLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ityanger
 * @since 2020-08-23
 */
@Repository
public interface LoginLogMapper {
    int insert(LoginLog log);

    int delete(Long id);

    List<LoginLog> getLoginLogList(SearchLog log);

    int getLoginLogTotal(SearchLog log);
}
